package touro.mancala.master;

import java.net.Socket;
import java.util.concurrent.LinkedBlockingQueue;

public class SlaveManager {

	private LinkedBlockingQueue<Socket> slaves;
	
	public SlaveManager() {
		slaves = new LinkedBlockingQueue<Socket>();
	}

	public LinkedBlockingQueue<Socket> getSlaves() {
		return slaves;
	}
	
	public void addSlave( Socket slave ) {
		slaves.add(slave);
	}
	
	public void removeSlave( Socket slave ) {
		slaves.remove(slave);
	}
	
}
